<!doctype html>
<html>
<head>
    <title>注册</title>
</head>
<body>
<form action="/doRegister" method="post">
    用户名：<input type="text" name="username" required><br>
    密 码：<input type="password" name="password" required><br>
    性 别：<input type="radio" name="gender" value="男" required>男
    <input type="radio" name="gender" value="女" required>女<br>
    年 龄：<input type="number" name="age" required><br>
    籍 贯：<select name="province" required>
        <#list provinces as province>
            <option value="${province}">${province}</option>
        </#list>
    </select><br>
    邮 箱：<input type="email" name="email" required><br>
    爱 好：<#list hobbies as hobby>
    <input type="checkbox" name="hobbies" value="${hobby}">${hobby}
    </#list><br>
    <input type="submit" value="注册">
</form>
</body>
</html>
